﻿using AutoMapper; 
using WPF.Core.Dtos;
using WPF.Core.Models;

namespace WPF.Core
{
    public class CoreMapperProfile : Profile
    {
        public CoreMapperProfile()
        {
            CreateMap<ToDo, ToDoModel>().ReverseMap();
            CreateMap<NoteBook, NoteBookModel>().ReverseMap();
            CreateMap<Bill, BillModel>().ReverseMap();
            CreateMap<User, UserModel>().ReverseMap(); 
        }
    }
}
